<template>
    <ContentBox title="医疗">
        <div class="yiliao">
            <div class="yiliao-item">
                <div class="contro">医院</div>
                <div class="header"></div>
                <div class="content">
                    <div>
                        <img src="../../assets/image/zhensuo.png" alt="">
                        <span>医院</span>
                        <span>10家</span>
                    </div>
                    <div>
                        <img src="../../assets/image/chuangwei.png" alt="">
                        <span>床位</span>
                        <span>10个</span>
                    </div>
                    <div>
                        <img src="../../assets/image/shousushi.png" alt="">
                        <span>手术室</span>
                        <span>10个</span>
                    </div>
                    <div>
                        <img src="../../assets/image/zuzhi.png" alt="">
                        <span>主治医生</span>
                        <span>99个</span>
                    </div>
                    <div>
                        <img src="../../assets/image/yishi.png" alt="">
                        <span>医师</span>
                        <span>10家</span>
                    </div>
                    <div>
                        <img src="../../assets/image/hushi.png" alt="">
                        <span>护士</span>
                        <span>10家</span>
                    </div>
                </div>
            </div>
            <div class="yiliao-item">
                <div class="contro">诊所</div>
                <div class="header">密度:112人/所</div>
                <div class="content">
                    <div>
                        <img src="../../assets/image/zhensuo.png" alt="">
                        <span>诊所</span>
                        <span>10家</span>
                    </div>
                    <div>
                        <img src="../../assets/image/chuangwei.png" alt="">
                        <span>床位</span>
                        <span>10个</span>
                    </div>
                    <div>
                        <img src="../../assets/image/yishi.png" alt="">
                        <span>医生</span>
                        <span>10个</span>
                    </div>
                    <div>
                        <img src="../../assets/image/hushi.png" alt="">
                        <span>护士</span>
                        <span>99个</span>
                    </div>
                </div>

            </div>
            <div class="yiliao-item">
                <div class="contro">卫生室</div>
                <div class="header">密度:12人/所</div>
                <div class="content">
                    <div>
                        <img src="../../assets/image/zhensuo.png" alt="">
                        <span>卫生室</span>
                        <span>10家</span>
                    </div>
                    <div>
                        <img src="../../assets/image/chuangwei.png" alt="">
                        <span>床位</span>
                        <span>10个</span>
                    </div>
                    <div>
                        <img src="../../assets/image/zuzhi.png" alt="">
                        <span>医护人员</span>
                        <span>10个</span>
                    </div>
                </div>


            </div>
            <div class="yiliao-item">
                <div class="contro">药房</div>
                <div class="header">密度:121人/所</div>
                <div class="content">
                    <div>
                        <img src="../../assets/image/zhensuo.png" alt="">
                        <span>药房</span>
                        <span>10家</span>
                    </div>
                </div>
            </div>
        </div>
    </ContentBox>
</template>
<script>
    import ContentBox from "../../components/common/ContentBoxSmall"
    import zhengxin from "./ChartsComponents/zhengxinOne"

    export default {
        name: "Preview",
        components: {
            ContentBox,
            zhengxin
        }
    }
</script>

<style lang="scss" scoped>
    .yiliao {
        height: 100%;
        width: 100%;
        padding:20px 40px;
        display: flex;
        flex-direction: column;
        justify-content: space-between;
    }

    .yiliao-item {
        display: flex;
        flex-direction: column;

        background: #0D114E;
        padding: 20px;

        /*margin: 20px 0;*/
        position: relative;
        .header{
            min-height: 30px;
            font-size: 30px;
            text-align: right;
            padding-right: 40px;
        }
        .content {
            display: flex;
            flex-wrap: wrap;
            /*background: #0D114E;*/
            justify-content: space-between;
            > div {
                width: 46%;
                height: 50px;

                display: flex;
                align-items: center;
                margin: 10px 0;
                img {
                    margin-right: 20px;
                    /*min-width: 56px;*/
                }
                span {
                    font-size: 35px;
                    &:first-child {
                        margin-left: 30px;
                    }
                    &:last-child {
                        flex: 1;
                        text-align: right;
                        /*padding-right: 20px;*/
                    }
                }
            }

        }
        .contro {
            width: 80px;
            height: 60px;
            font-size: 18px;
            background: url("../../assets/image/contro.png") center 55% no-repeat;
            background-size: 100% 40%;
            margin: 0;

            display: flex;
            justify-content: center;
            align-items: center;

            transform: rotate(45deg);
            position: absolute;
            top: -14px;
            right: -23px;

        }

    }

</style>

